<?php
/*
	Copyright (c) InterAKT Online 2000-2005
*/

	$KT_XMLTE_uploadErrorMsg = '<strong>File not found:</strong> <br />%s<br /><strong>Please upload the includes/ folder to the testing server.</strong> <br /><a href="http://www.interaktonline.com/error/?error=upload_includes" onclick="return confirm(\'Some data will be submitted to InterAKT. Do you want to continue?\');" target="KTDebugger_0">Online troubleshooter</a>';
	$KT_XMLTE_uploadFileList = array('../common/KT_common.php', '../common/lib/db/KT_Db.php', 'XML_TableExport.class.php');

	for ($KT_XMLTE_i=0;$KT_XMLTE_i<sizeof($KT_XMLTE_uploadFileList);$KT_XMLTE_i++) {
		$KT_XMLTE_uploadFileName = dirname(realpath(__FILE__)). '/' . $KT_XMLTE_uploadFileList[$KT_XMLTE_i];
		if (file_exists($KT_XMLTE_uploadFileName)) {
			require_once($KT_XMLTE_uploadFileName);
		} else {
			die(sprintf($KT_XMLTE_uploadErrorMsg,$KT_XMLTE_uploadFileList[$KT_XMLTE_i]));
		}
	}
?>